package models.common;

/**
 * Created by FireFire on 3/8 0008.
 * 有效无效状态
 */
public enum CodeStatus {
    /**
     * 无效的代码
     */
    INVALID,
    /**
     * 有效的代码
     */
    VALID;

    @Override
    public String toString() {
        String str = "";
        switch (this) {
            case INVALID:
                str =  "无效";
                break;
            case VALID:
                str = "有效";
                break;
        }
        return str;
    }
}
